package com.lanbu.system.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lanbu.system.domain.EmotionAnalysisResults;
import com.lanbu.system.domain.dto.EmotionAnalysisDTO;
import com.lanbu.system.domain.vo.EmotionAnalysisResultsChartVo;
import com.lanbu.system.domain.vo.EmotionAnalysisResultsVo;
import com.lanbu.system.domain.vo.EmotionAnalysisResultsVoList;
import com.lanbu.system.domain.vo.ListAddressChart;

/**
 * 情绪分析结果Mapper接口
 * 
 * @author lanbu
 * @date 2024-11-23
 */
public interface EmotionAnalysisResultsMapper extends BaseMapper<EmotionAnalysisResults>
{
    /**
     * 查询情绪分析结果
     * 
     * @param id 情绪分析结果主键
     * @return 情绪分析结果
     */
    public EmotionAnalysisResults selectEmotionAnalysisResultsById(Long id);

    /**
     * 查询情绪分析结果列表
     * 
     * @param emotionAnalysisResults 情绪分析结果
     * @return 情绪分析结果集合
     */
    public List<EmotionAnalysisResultsVoList> selectEmotionAnalysisResultsList(EmotionAnalysisDTO emotionAnalysisResults);

    /**
     * 新增情绪分析结果
     * 
     * @param emotionAnalysisResults 情绪分析结果
     * @return 结果
     */
    public int insertEmotionAnalysisResults(EmotionAnalysisResults emotionAnalysisResults);

    /**
     * 修改情绪分析结果
     * 
     * @param emotionAnalysisResults 情绪分析结果
     * @return 结果
     */
    public int updateEmotionAnalysisResults(EmotionAnalysisResults emotionAnalysisResults);

    /**
     * 删除情绪分析结果
     * 
     * @param id 情绪分析结果主键
     * @return 结果
     */
    public int deleteEmotionAnalysisResultsById(Long id);

    /**
     * 批量删除情绪分析结果
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEmotionAnalysisResultsByIds(Long[] ids);

    List<EmotionAnalysisResultsVo> selectEmotionAnalysisResultsListUser(EmotionAnalysisResultsVo emotionAnalysisResults);

    List<EmotionAnalysisResultsChartVo> selectEmotionAnalysisResultsListUserChart(EmotionAnalysisDTO emotionAnalysisResults);

    public List<EmotionAnalysisResults>  selectEmotionAnalysisResultsByStudentId(Long studentId);

    List<ListAddressChart> selectEmotionAnalysisResultsListAddressChart(EmotionAnalysisDTO user);



    List<EmotionAnalysisResultsVoList> selectEmotionAnalysisResultsListFocus(EmotionAnalysisDTO emotionAnalysisResults);

    List<EmotionAnalysisResultsVoList> selectEmotionAnalysisResultsListUnknown(EmotionAnalysisDTO emotionAnalysisResults);

    public int deleteEmotionAnalysisResultsByIP(String ips);
}
